package com.ap.core.jbehave.stories;

import java.util.Arrays;
import java.util.List;

import org.jbehave.core.steps.InjectableStepsFactory;
import org.jbehave.core.steps.InstanceStepsFactory;

import com.ap.core.jbehave.CommonStories;
import com.ap.core.jbehave.StoryContext;
import com.ap.core.jbehave.StoryContextClearer;
import com.ap.core.jbehave.confirmpayment.ConfirmPaymentDeclinedSteps;

public class ConfirmPaymentDeclined extends CommonStories {

    @Override
	public InjectableStepsFactory stepsFactory() {
		return new InstanceStepsFactory(configuration(), new ConfirmPaymentDeclinedSteps(new StoryContext()), new StoryContextClearer(storyContext()));
	}
    
    @Override
	protected List<String> storyPaths() {
		return Arrays.asList("stories/confirm_payment_declined.story");
	}

}
